package com.bobo.demo;

import java.util.ArrayList;
import java.util.List;

public class GData {
    private String sname;
    private List<TData> ldata;
    public GData(String name) {
        this.sname = name;
        ldata = new ArrayList<TData>();
    }
    public void addData(TData data) {
        ldata.add(data);
    }
    public String getSname() {
        return sname;
    }
    public List<TData> getLdata() {
        return ldata;
    }
}
